package seventeen.observer.homework;

public class UserProgram extends Program{
    private String error;
    @Override
    public String getError() {
        return error;
    }

    @Override
    public void execute() {
        error = "there is something wrong...";
        notifyObservers();
    }
}
